

package io.lkt.modules.sys.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * 公众号
 *
 * @author hyl
 */
@Data
@TableName("sys_gzh")
public class SysGzhEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	/**
	 * 角色ID
	 */
	@TableId
	private String gzhCode;

	/**
	 * 公众号名称
	 */
	@NotBlank(message="公众号名称不能为空")
	private String gzhName;

	/**
	 * 备注
	 */
	private String remark;

	
	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	private String realmName;

	private String appId;
	private String secret;
	private String token;
	private String aesKey;

	private String refundTempId;

	private String withdrawTempId;
}
